up: AutoCAD  
AutoCAD
LISP
What links here?
List Functions
AutoCAD LISP - ASSOC returns the remainder of the sublist associated with the given argument
AutoCAD LISP - CAR returns the first element of the list
AutoCAD LISP - CDR returns everything but the first element of the list
AutoCAD LISP - CADR returns the second element of the list
AutoCAD LISP - CAADR returns the third element of the list
AutoCAD LISP - CAAR returns the first element of the first element of the list
AutoCAD LISP - CONS adds the first item to the front of the list
AutoCAD LISP - FOREACH walks through list, performing function on each element
AutoCAD LISP - LIST creates a list from given elements
AutoCAD LISP - NTH returns the nth element of the list

Input Functions
AutoCAD LISP - GETANGLE (getangle [pt] [msg]) Pauses for user input of an angle, and returns that angle in radians
AutoCAD LISP - GETCORNER (getcorner pt [msg]) Pauses for user input of a rectangle's second corner
AutoCAD LISP - GETDIST (getdist [pt] [msg]) Pauses for user input of a distance
AutoCAD LISP - GETFILED (getfiled title default ext flags) Prompts the user for a file name with the standard AutoCAD file dialog box, and returns that file name
AutoCAD LISP - GETINT (getint [msg]) Pauses for user input of an integer, and returns that integer
AutoCAD LISP - GETKWORD (getkword [msg]) Pauses for user input of a keyword, and returns that keyword
AutoCAD LISP - GETORIENT (getorient [pt] [msg]) Pauses for user input of an angle, and returns that angle in radians
AutoCAD LISP - GETPOINT (getpoint [pt] [msg]) Pauses for user input of a point, and returns that point
AutoCAD LISP - GETREAL (getreal [msg]) Pauses for user input of a real number, and returns that real number
AutoCAD LISP - GETSTRING (getstring [cr] [msg]) Pauses for user input of a string, and returns that string
AutoCAD LISP - INITGET (initget [bits] [string]) Establishes keywords for use by the next user input function call
AutoCAD LISP - NENTSEL (nentsel [msg]) Prompts the user to select an object (entity) by specifying a point, and provides access to the definition data contained within a complex object
AutoCAD LISP - NENTSELP (nentselp [msg] [pt]) Provides similar functionality to that of the nentsel function without the need for user input

String Functions
STRCASE (strcase STRING {WHICH} )
STRCAT (strcat STRING1 {STRING2 ...} )
STRLEN (strlen {STRING} ...)
SUBSTR (substr STRING START {LENGTH} )

Text Output Functions AutoCAD LISP - Special Characters in output
PRINC displays strings without the enclosing quotation marks.
PRIN1 displays strings enclosed in quotation marks.
PRINT displays strings enclosed in quotation marks but places a blank line before the expression and a space afterward.

Conditional Execution
AutoCAD LISP - COND sort-of case statement construct
AutoCAD LISP - IF if-then-else construct
AutoCAD LISP - PROGN used to group statements together
AutoCAD LISP - REPEAT evaluate functions an number of times
AutoCAD LISP - WHILE "while true do" loop

Program Loops
(repeat n {one or more statements} )
(while {condition = T} {one or more statements} )

Entity Functions
AutoCAD LISP - ENTDEL
AutoCAD LISP - ENTGET
AutoCAD LISP - ENTLAST
AutoCAD LISP - ENTMAKE
AutoCAD LISP - ENTMOD
AutoCAD LISP - ENTNEXT
AutoCAD LISP - ENTSEL
AutoCAD LISP - ENTUPD

Table Functions
AutoCAD LISP - TBLNEXT
AutoCAD LISP - TBLSEARCH
AutoCAD LISP - TBLOBJNAME


Resources
AutoDesk: User Input Functions Reference (AutoLISP)
AfraLISP
AutoCAD - LISP
filename:AutoCAD - LISP
filename:AutoCAD%20%2D%20LISP
last edit:August 01 2013 21:13:38 (3930 days ago)
ct = 1714974001.000000 = May 06 2024 01:40:01
ft = 1375406018.000000 = August 01 2013 21:13:38
dt = 339567983.000000